export { };
// 如果想跳过一个参数，就必须显式地传递undefined
function f(p1?: string | Date, p2: number = 100, p3?: boolean) {
    console.log(p1);
    console.log(p2);
    console.log(p3);
};
f(undefined, undefined, true);